<?php

class Ngo_contact extends Datamapper {
    
	var $db_params = 'ngo';
	var $table = 'contacts';
	var $auto_populate_has_one = TRUE;
	
	var $has_one = array(
		'ngo' => array(
			'class' => 'ngo',
			'other_field' => 'contacts',
			'join_self_as' => 'contact',
			'join_other_as' => 'ngo',
			'join_table' => 'r_contacts_ngos'),
	);
}

/* End of file country.php */
/* Location: ./application/models/country.php */